﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    partial class A
    {
        int num = 0;
        public void MethodA() 
        {
            Console.WriteLine("methoda");
        }
        partial void MethodC();
    }

    partial class A
    {
        public void MethodB() 
        {
            Console.WriteLine("methodb");
        }
        partial void MethodC() 
        {
            Console.WriteLine("methodc");
        }
    }

    class Program
    {
        static void Main(string[] args)
        {
            A a = new A();
            a.MethodA();
            a.MethodB();
            Console.ReadKey();

        }
    }
}
